package com.liming.purchaseschema.webapp.wicket.page;

import com.liming.core.web.wicket.BasePage;
import com.liming.purchaseschema.api.biz.IPurchaseSchemaService;
import com.liming.purchaseschema.core.model.SchemaDefine;
import org.apache.aries.blueprint.annotation.Reference;
import org.apache.wicket.markup.repeater.RepeatingView;

import javax.inject.Inject;
import javax.inject.Named;
import javax.swing.tree.DefaultMutableTreeNode;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @类描述：预约管理
 * @创建人：wangkr
 * @创建时间：2014-04-08 下午2:28
 * @修改人：
 * @修改时间：
 * @修改备注：
 */

public class PurchaseSchemaConfiguration extends BasePage {


    RepeatingView treeNode = new RepeatingView("treeNode");
    final RepeatingView formPanel = new RepeatingView("formPanel");

    public PurchaseSchemaConfiguration(){

        MyFormPanel formPanel1 = new MyFormPanel(formPanel.newChildId());
        treeNode.setOutputMarkupId(true);
        formPanel1.setOutputMarkupId(true);
        TreePanel treePanel = new TreePanel(treeNode.newChildId());
        treePanel.createTree(formPanel1);
        treePanel.setOutputMarkupId(true);
        treeNode.add(treePanel);
        add(treeNode);
        formPanel.add(formPanel1);
        add(formPanel);
    }
}

